package io.renren.modules.news.service;

import io.renren.common.utils.PageUtils;
import io.renren.modules.news.entity.TopicEntity;
import com.baomidou.mybatisplus.service.IService;


import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author wxy
 * @email sharonwang_xy@163.com
 * @date 2018-10-15 23:10:19
 */
public interface TopicService {
	
	TopicEntity queryObject(Integer id);
	
	List<TopicEntity> queryList(Map<String, Object> map);

//	PageUtils queryPage(Map<String, Object> params);

	int queryTotal(Map<String, Object> map);
	
	void save(TopicEntity topic);
	
	void update(TopicEntity topic);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);
}
